home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 001a / mpt_slt.zip / MPT-SEND.SLT < prev    next >
Text File  |  1991-07-05  |  761b  |  36 lines

  1. //
  2. //  Module:       mpt_ad.slt
  3. //  Version:      1.0
  4. //  Description:  MPT-SEND      MPt protocol upload script for Telix
  5. //                Includes appropriate port, speed, and file names in
  6. //                the MPt command-line.
  7. //  Author:       Paul Roub
  8. //
  9. //                Files Courtesy of Modern Technology BBS Cumberland RI
  10. //                             401 333 3451
  11. //<f>
  12. main()
  13. {
  14.   str     CmdLine[128];
  15.   str     BaudStr[7];
  16.   str     PortStr[2];
  17.  
  18.   itos(get_baud(), BaudStr);
  19.   itos(get_port(), PortStr);
  20.  
  21.   CmdLine = "P";
  22.   strcat(CmdLine, PortStr);
  23.  
  24.   strcat(CmdLine, " S");
  25.   strcat(CmdLine, BaudStr);
  26.  
  27.   strcat(CmdLine, " S ");
  28.   strcat(CmdLine, _ext_filespec);
  29.  
  30.   run("mpt", CmdLine, 0);
  31.  
  32.   return;
  33. }
  34.  
  35. 
  36.